package cn.edu.imnu.service.impl;

import cn.edu.imnu.entry.vo.DoctorListVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.edu.imnu.entry.po.Doctor;
import cn.edu.imnu.service.DoctorService;
import cn.edu.imnu.mapper.DoctorMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import javax.management.Query;
import java.util.List;

/**
* @author HY3423
* @description 针对表【doctor】的数据库操作Service实现
* @createDate 2025-05-28 09:57:44
*/
@Service
public class DoctorServiceImpl extends ServiceImpl<DoctorMapper, Doctor>
    implements DoctorService{
    @Resource
    private DoctorMapper doctorMapper;

    @Override
    public List<DoctorListVo> getDoctorList() {
        List<DoctorListVo> doctorList;
        doctorList = doctorMapper.getDoctorList();

        return doctorList;
    }
}




